<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>列表</title>
<link rel="stylesheet" href="${basePath}css/styles.css" />
<link rel="stylesheet"
	href="${basePath}css/font-awesome-4.7.0/css/font-awesome.min.css" />
<script src="${basePath}js/jquery-3.6.0.js" type="text/javascript"></script>
</head>

<body>
	<form action="${basePath}wbw?method=list" id="tableList" method="post">
	<input type="hidden" name="pageno" value="${pageinfo.pageno}">
	<input type="hidden" name="gonghao" value="${caozuoyuan.cid}">
	<table class="tablelist">
		<thead>
			<tr>
				<th>编号</th>
				<th>型号</th>
				<th>数量</th>
				<th>信息</th>
		</thead>
		<c:forEach items="${pageinfo.list}" var="gdzc">
			<tr>
				<td>${gdzc.bianhao}</td>
				<td>${gdzc.xinghao}</td>
				<td>${gdzc.num}</td>
				<td>
					${gdzc.information}
				</td>
		</c:forEach>
	</table>
<%@include file="../fenye.jsp"%>
	</form>
	<button class="wbwbtn" type="button" onclick="window.location.href = '${basePath}wbw?method=show'">
		<i class="fa fa-search"></i> 查看已提交记录
	</button>
	<button class="wbwbtn" name="weihu" type="button"
						onclick="window.location.href = '${basePath}wbw/weihu.jsp'"><i class="fa fa-wrench"></i>维护</button>
					<button class="wbwbtn" name="baofei" type="button"
						onclick="window.location.href = '${basePath}wbw/baofei.jsp'"><i class="fa fa-truck"></i>报废</button>
					<button class="wbwbtn" name="waijie" type="button"
						onclick="window.location.href = '${basePath}wbw/waijie.jsp'"><i class="fa fa-hand-lizard-o"></i>外借</button>
</body>

</html>
